package com.project.nimsen.dto;

import org.apache.commons.lang3.StringUtils;

public class UrlinfoDto {
	private String urloutid;//url外链接表的id
	private String urloutable;//url外链接的table名
	private Integer num;//当台标签查询时的前几个附件
	private String orderType;//排序方式
	
	public String getOrderType() {
		if(StringUtils.isBlank(orderType))
			return "ASC";
		return orderType;
	}
	public void setOrderType(String orderType) {
		this.orderType = orderType;
	}
	public Integer getNum() {
		if(num==null||num<1)
			return 0;
		return num;
	}
	public void setNum(Integer num) {
		this.num = num;
	}
	public String getUrloutid() {
		return urloutid;
	}
	public void setUrloutid(String urloutid) {
		this.urloutid = urloutid;
	}
	public String getUrloutable() {
		return urloutable;
	}
	public void setUrloutable(String urloutable) {
		this.urloutable = urloutable;
	}
}
